package com.yc.entities.custom;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author kukaha
 * @version 1.0.0
 * @ClassName CustomBarCodeResponseBean.java
 * @Description TODO
 * @createTime 2021年04月18日 12:57:00
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CustomBarCodeResponseBean对象", description = "条形码管理响应Bean")
public class CustomBarCodeResponseBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "患者数据唯一id ")
    private Integer id;
    @ApiModelProperty(value = "床号 ")
    private Integer bedNum;
    @ApiModelProperty(value = "年龄 ")
    private Integer age;
    @ApiModelProperty(value = "患者姓名 ")
    private String patientName;
    @ApiModelProperty(value = "患者性别 0:女  1:男")
    private String sex;
    @ApiModelProperty(value = "手机号 ")
    private String phone;
    @ApiModelProperty(value = "科室id ")
    private Integer departmentId;
    @ApiModelProperty(value = "科室名称 ")
    private String departmentName;
    @ApiModelProperty(value = "医生id ")
    private Integer doctorId;
    @ApiModelProperty(value = "医生姓名 ")
    private String doctorName;
    @ApiModelProperty(value = "住院号 ")
    private String hospitalNum;
    @ApiModelProperty(value = "住院时间 ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime inHospitalTime;


}
